﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.IO;
using Lon.IO;


namespace Lon.Server
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            AppServer server;
            InitFrontServer(out server);
            Application.Run(new MainForm(server));
        }

        private static void InitFrontServer(out AppServer server)
        {
       
            server = new AppServer();
            
            server.Start();
             
        }
    }
}
